* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* 移动端背景 */
@media (max-width: 767px) {
    body {
        /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
        background: #fff
    }
}

/* 主容器 - 响应式设计 */
#main {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

/* PC端适配 */
@media (min-width: 768px) {
    #main {
        max-width: 600px;
        margin: 0 auto;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        background: #fff
    }
}

/* 背景图片 */
.img {
    width: 100%;
    height: auto;
    min-height: 100vh;
    object-fit: cover;
    display: block;
}

/* 小屏幕图片适配 - 确保内容可见 */
@media (max-width: 767px) {
    .img {
        height: auto;
        min-height: 100vh;
        object-fit: contain;
        object-position: top;
    }
}

/* PC端背景图片适配 */
@media (min-width: 768px) {
    .img {
        height: 100vh;
        min-height: 600px;
        object-fit: cover;
    }
}

/* 底部按钮区域 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/* PC端底部按钮适配 */
@media (min-width: 768px) {
    .footer {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* 平板适配 */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer {
        max-width: 700px;
    }
}

/* 大屏幕适配 */
@media (min-width: 1200px) {
    .footer {
        max-width: 800px;
    }
}

/* 超大屏幕适配 */
@media (min-width: 1400px) {
    .footer {
        max-width: 900px;
    }
}

.foo {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.foo li {
    flex: 1;
    font-size: 18px;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.foo li:first-child {
    background: linear-gradient(45deg, #fd7688, #ff6b9d);
}

.foo li:last-child {
    background: linear-gradient(45deg, #ff3f3c, #ff6b6b);
}

.foo li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.foo li:active {
    transform: translateY(0);
}

/* 表单容器 */
#txt {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fe7618, #ff9a56);
    border-radius: 20px 20px 0 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 20;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    max-height: 85vh;
    overflow-y: auto;
}

/* PC端表单适配 */
@media (min-width: 768px) {
    #txt {
        max-width: 600px;
        margin: 0 auto;
        left: 0;
        right: 0;
        max-height: 90vh;
    }
}

#txt.show {
    bottom: 0;
}

#txt h2 {
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 22px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 表单样式 */
#txt ul {
    background: #fff;
    margin: 0 20px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#txt ul li {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

#txt ul li:last-child {
    border-bottom: none;
}

#txt ul li p {
    padding: 15px 20px 5px;
    margin: 0;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

#txt ul li p .xin {
    color: #ff4757;
    padding-right: 5px;
    font-weight: bold;
}

#txt ul li input {
    margin: 0 20px 15px;
    width: calc(100% - 40px);
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

#txt ul li input:focus {
    border-color: #fe7618;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(254, 118, 24, 0.1);
}

#txt ul li input::placeholder {
    color: #adb5bd;
}

/* 提交按钮 */
#txt ul li #but {
    background: linear-gradient(45deg, #fe7618, #ff9a56);
    width: calc(100% - 40px);
    border: none;
    padding: 15px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    margin: 20px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 118, 24, 0.3);
}

#txt ul li #but:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 118, 24, 0.4);
}

#txt ul li #but:active {
    transform: translateY(0);
}

#txt ul li #but:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 消息提示样式 */
#studentMessage {
    margin: 0 20px 20px;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success {
    color: #28a745 !important;
    background: rgba(40, 167, 69, 0.1) !important;
    border: 1px solid rgba(40, 167, 69, 0.3) !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    margin: 10px 0 !important;
}

.error {
    color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.1) !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    margin: 10px 0 !important;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 移动端优化 */
@media (max-width: 767px) {
    .foo li {
        font-size: 16px;
        padding: 15px 0;
    }
    
    #txt h2 {
        font-size: 20px;
        padding: 15px;
    }
    
    #txt ul li input {
        font-size: 16px;
        padding: 12px;
    }
    
    #txt ul li #but {
        font-size: 16px;
        padding: 12px;
    }
}

/* 平板适配 */
@media (min-width: 768px) and (max-width: 1024px) {
    #main, #txt {
        max-width: 700px;
    }
}

/* 大屏幕适配 */
@media (min-width: 1200px) {
    #main, #txt {
        max-width: 800px;
    }
}

/* 超大屏幕适配 */
@media (min-width: 1400px) {
    #main, #txt {
        max-width: 900px;
    }
}

/* 滚动条样式 */
#txt::-webkit-scrollbar {
    width: 8px;
}

#txt::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

#txt::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

#txt::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}


/* 确保页面可以正常滚动 */
html, body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

#main {
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* 修复表单内容滚动 */
#txt {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

/* 移动端滚动优化 */
@media (max-width: 767px) {
    body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #main {
        min-height: auto;
        height: auto;
    }
    
    .img {
        position: relative;
        z-index: 1;
    }
}

/* PC端页面背景优化 */
@media (min-width: 768px) {
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #f5f5f5;
        z-index: -1;
    }
}

/* 拼团模块样式 */
.group-buy-section {
    background: #f0f8ff;
    padding: 20px;
    margin: 0;
}

.group-buy-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
}

/* 课程信息区域 */
.course-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.course-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.course-details h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: bold;
    line-height: 1.4;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.group-price {
    color: #ff4757;
    font-size: 24px;
    font-weight: bold;
}

.group-size {
    background: #ff4757;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* 拼团选项 */
.group-options {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 10px 0;
    justify-content: space-between;
    align-items: stretch;
}

.option-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    flex: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #e9ecef;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.option-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.option-item:hover::before {
    left: 100%;
}

.option-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.2);
}

.option-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.15);
    border-color: #ff4757;
}

.option-item.active {
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    border-color: #ff4757;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

.option-item.active .option-price {
    color: white !important;
}

.option-item.active .option-desc {
    color: rgba(255, 255, 255, 0.9) !important;
}

.option-item.active:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 71, 87, 0.4);
}

.option-price {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #ff4757;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    line-height: 1;
}

.option-desc {
    display: block;
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
    font-weight: 500;
    line-height: 1;
}

/* 开团按钮 */
.start-group-btn {
    width: 100%;
    background: linear-gradient(45deg, #ff4757, #ff6b7a);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.start-group-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.start-group-btn:active {
    transform: translateY(0);
}

/* 参与他人的团 */
.join-others-section {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.invite-count {
    color: #ff4757;
    font-size: 20px;
    font-weight: bold;
}

.view-all {
    color: #999;
    font-size: 12px;
}

/* 拼团列表容器 */
.group-list {
    max-height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 15%, rgba(255,255,255,0.9) 85%, rgba(255,255,255,0) 100%);
    min-height: 150px;
}

/* 滚动内容 */
.group-list-scroll {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: scrollUp 30s linear infinite;
    padding: 20px 0;
}

/* 滚动动画 */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* 暂停滚动 */
.group-list:hover .group-list-scroll {
    animation-play-state: paused;
}

.group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin: 0 5px;
    padding: 12px 15px;
}

.group-item:last-child {
    border-bottom: none;
}

.group-item:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

/* 拼团项目淡入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.user-badge {
    background: #ff9500;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    width: fit-content;
}

.group-status {
    text-align: right;
}

.group-progress {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.join-btn {
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 6px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: #ff3742;
    transform: scale(1.05);
}

/* 移动端适配 */
@media (max-width: 767px) {
    .group-buy-section {
        padding: 15px;
    }
    
    .group-buy-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    .course-info {
        gap: 12px;
        flex-direction: row;
        text-align: left;
    }
    
    .course-image {
        width: 70px;
        height: 70px;
    }
    
    .course-details h3 {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .group-price {
        font-size: 18px;
    }
    
    .group-options {
        gap: 8px;
        padding: 15px 0;
    }
    
    .option-item {
        padding: 15px 10px;
        min-height: 70px;
        border-radius: 12px;
    }
    
    .option-price {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .option-desc {
        font-size: 12px;
    }
    
    .start-group-btn {
        font-size: 16px;
        padding: 14px;
        border-radius: 20px;
    }
}

/* 超小屏幕适配 (360px以下) */
@media (max-width: 360px) {
    .group-buy-section {
        padding: 12px;
    }
    
    .group-buy-card {
        padding: 15px;
    }
    
    .course-details h3 {
        font-size: 13px;
    }
    
    .group-price {
        font-size: 16px;
    }
    
    .group-options {
        gap: 6px;
    }
    
    .option-item {
        padding: 12px 8px;
        min-height: 65px;
    }
    
    .option-price {
        font-size: 15px;
    }
    
    .option-desc {
        font-size: 11px;
    }
}

/* 平板和大屏幕适配 */
@media (min-width: 768px) {
    .group-options {
        gap: 20px;
        padding: 20px 0;
        max-width: 500px;
        margin: 0 auto 20px;
    }
    
    .option-item {
        padding: 25px 20px;
        min-height: 100px;
        border-radius: 18px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    
    .option-price {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .option-desc {
        font-size: 16px;
    }
    
    .course-info {
        gap: 20px;
    }
    
    .course-image {
        width: 100px;
        height: 100px;
    }
    
    .course-details h3 {
        font-size: 18px;
    }
    
    .group-price {
        font-size: 28px;
    }
}

/* 大屏幕优化 */
@media (min-width: 1024px) {
    .group-options {
        gap: 25px;
        max-width: 600px;
    }
    
    .option-item {
        padding: 30px 25px;
        min-height: 110px;
    }
    
    .option-price {
        font-size: 26px;
    }
    
    .option-desc {
        font-size: 18px;
    }
}

/* Payment Section */
.payment-section {
    padding: 30px 20px 120px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    margin: 0;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196f3, #42a5f5, #64b5f6);
}

.payment-header h3 {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.payment-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0 0 25px 0;
}

.qr-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin: 0 0 25px 0;
    display: inline-block;
}

.payment-qr {
    width: 260px;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-tips {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 12px;
    padding: 15px;
    margin: 0 0 25px 0;
    border-left: 4px solid #2196f3;
}

.tip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tip-icon {
    font-size: 20px;
}

.tip-text {
    color: #1976d2;
    font-weight: 600;
    font-size: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 25px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.wechat-qr {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.phone-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2196f3, #42a5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details {
    text-align: left;
    flex: 1;
}

.contact-title {
    color: #333;
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 5px 0;
}

.contact-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.contact-phone {
    color: #2196f3;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
}

.payment-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-top: 20px;
}

.payment-footer p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* QR Code Section */
.qr-section {
    text-align: center;
    padding: 30px 20px;
    background: #f7f8fa;
    margin: 20px auto 100px; /* Add margin to avoid footer overlap */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    max-width: 90%;
    position: relative;
}

.qr-section::before {
    content: '扫码或长按识别';
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #888;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .qr-section {
        max-width: 400px;
    }
}

.qr-image-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 25px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    border-radius: 8px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.qr-image.active {
    opacity: 1;
    visibility: visible;
}

.qr-toggle {
    display: inline-flex;
    justify-content: center;
    background: #e9ecef;
    border-radius: 50px;
    padding: 5px;
}

.qr-toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #495057;
    font-weight: 600;
    font-size: 16px;
}

.qr-toggle-label.active {
    background-color: #fff;
    color: #fe7618;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.qr-toggle-label input {
    display: none;
}

.qr-footer-text {
    margin-top: 20px;
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

/* 海报弹窗样式 */
.poster-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.poster-container {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.poster-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.poster-close-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.poster-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.poster-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.poster-tip {
    text-align: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px solid #ff4757;
    max-width: 300px;
}

.poster-tip p {
    margin: 0;
    color: #ff4757;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* PC端海报弹窗适配 */
@media (min-width: 768px) {
    .poster-container {
        max-width: 500px;
        padding: 30px;
    }
    
    .poster-image {
        max-height: 60vh;
    }
}

/* 移动端海报弹窗适配 */
@media (max-width: 767px) {
    .poster-container {
        margin: 20px;
        padding: 15px;
    }
    
    .poster-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .poster-action-btn {
        padding: 14px 20px;
        font-size: 16px;
    }
}

/* 音乐控制按钮样式 */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: musicPulse 2s ease-in-out infinite;
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.6);
}

.music-control.playing {
    animation: musicRotate 3s linear infinite, musicPulse 2s ease-in-out infinite;
}

.music-control.paused {
    animation: musicPulse 2s ease-in-out infinite;
    opacity: 0.7;
}

.music-icon {
    width: 30px;
    height: 30px;
    color: white;
    transition: transform 0.3s ease;
}

.music-control:hover .music-icon {
    transform: scale(1.1);
}

/* 音乐控制动画 */
@keyframes musicRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 71, 87, 0.6), 0 0 0 10px rgba(255, 71, 87, 0.1);
    }
}

/* PC端音乐控制按钮适配 */
@media (min-width: 768px) {
    .music-control {
        width: 70px;
        height: 70px;
        top: 30px;
        right: calc(50% - 300px + 20px);
    }
    
    .music-icon {
        width: 35px;
        height: 35px;
    }
}

/* 移动端音乐控制按钮适配 */
@media (max-width: 767px) {
    .music-control {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }
    
    .music-icon {
        width: 25px;
        height: 25px;
    }
}

/* 音乐图标SVG样式 */
.music-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
